package com.xu.design.demo.factory;

import java.util.concurrent.TimeUnit;

/**
 *
 * @author xudenghui
 * @create 2023-07-31 16:22
 **/
public interface ICacheAdapter {

    String get(String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
